package cn.com.api.service.base;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Service;

import cn.com.api.entity.U_cate;

/**
 * 
 */
@Service
public interface U_cateServiceBase {

	//根据id查看
	public U_cate findU_cateById(Integer id);
	
    //查看数据集
	public List<U_cate> findU_cates();
    
	//添加
	public int insertU_cate(U_cate u_cate);
  	
	//修改
    public int updateU_cate(U_cate u_cate);
    
    //删除
    public int deleteU_cate(Integer id);
 
    // Foreign keys revelant		
		

	//region Indexs revelant
    
    
    //获取根据parent_id	
    public List<U_cate> findU_catesByParent_id(String parent_id);
    		
    
}


